//
// Created by Administrator on 2020/7/20 0020.
//

#ifndef FAMILY_CHENGJUN_H
#define FAMILY_CHENGJUN_H

#include "string"
#include "ShuaiShuai.h"
using namespace std;

class ChengJun//姑父
{
private:
    string workTime;//工作时间
    string playTime;//玩耍时间
    string sleepTime;//睡觉时间
    double angerValue;//怒气值
    double happinessValue;//幸福值

private:
    void beatChild();//打孩子
    void scoldChild();//骂孩子
public:
    void eatLunch();//吃午饭
    void eatDinner();//吃晚饭








public:
    friend class ShuaiShuai;
    double getAngerValue() const;

    void setAngerValue(double angerValue);

    double getHappinessValue() const;

    void setHappinessValue(double happinessValue);

    const string &getWorkTime() const;

    void setWorkTime(const string &workTime);

    const string &getPlayTime() const;

    void setPlayTime(const string &playTime);

    const string &getSleepTime() const;

    void setSleepTime(const string &sleepTime);



};



#endif //FAMILY_CHENGJUN_H
